package route

import (
	"github.com/kataras/iris/v12"
	"github.com/kataras/iris/v12/mvc"
	"storeManageApi/controllers"
	"storeManageApi/service"
)

func defaultRoute(party iris.Party) {
	//  默认路由组
	var defaultRouteParty iris.Party = party
	//  注入服务
	mvc.Configure(defaultRouteParty).Register(service.ResponseService).Handle(new(controllers.DefaultController))
}
